package home.main;

import java.awt.Dimension;
import java.io.IOException;

import javax.swing.JFrame;

import jxl.read.biff.BiffException;
import home.main.util.Controller;
import home.ui.MainFrame;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		System.out.println("Start");
		Controller controller = new Controller();
		try {
			controller.getProductFromXLS();
//			controller.getProductsFromSite(controller.getProductFromXLS());
			
		} catch (BiffException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println("Finish");
		
//		JFrame frame = new JFrame("Parser_0.02");
//		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//		frame.setPreferredSize(new Dimension(600, 700));
//		frame.setLocation(400, 400);
//		frame.setVisible(true);
		
		MainFrame mainFrame = new MainFrame();
		
	}

}
